package cn.HL.org.service.impl;

import cn.HL.basic.service.impl.BaseServiceImpl;
import cn.HL.basic.util.PageList;
import cn.HL.org.domain.Systemdictionarydetail;
import cn.HL.org.domain.Systemdictionarytype;
import cn.HL.org.mapper.SystemdictionarydetailMapper;
import cn.HL.org.mapper.SystemdictionarytypeMapper;
import cn.HL.org.service.ISystemdictionarydetailService;
import cn.HL.org.service.ISystemdictionarytypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class SystemdictionarydetailServiceImpl extends BaseServiceImpl<Systemdictionarydetail> implements ISystemdictionarydetailService {
    @Autowired
    private SystemdictionarydetailMapper systemdictionarydetailMapper;


    @Override
    public List<Systemdictionarydetail> findBy(Long id) {
        return systemdictionarydetailMapper.findBy(id);
    }

    @Override
    public List<Systemdictionarydetail> findbyall(List<Long> ids) {
        return systemdictionarydetailMapper.findByidall(ids);
    }
}
